#!/bin/sh

# 定义镜像.
IMAGE_NAME="registry.chentaihealth.cn/base/alpine"
IMAGE_VERSION="3.21"

# 构建过程.
cd "$(dirname "$0")" && docker build \
    --tag "${IMAGE_NAME}:${IMAGE_VERSION}" \
    --label="OS_NAME=Alpine" \
    --label="OS_VERSION=3.2.1" \
    --label="IMG_NAME=${IMAGE_NAME}" \
    --label="IMG_VERSION=${IMAGE_NAME}" \
    --force-rm \
    --no-cache \
    --rm .
